package com.hex.ds.hdrs.period.task.dto.depend;

import com.hex.ds.hdrs.period.task.po.PeriodTask;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.UUID;


@Data
@Accessors(chain = true)
@NoArgsConstructor
public class TaskDependDto {
    public TaskDependDto(String id,String taskCode){
        this.taskCode = taskCode;
        this.id = id;
        this.data = new DependNodesDataDto();
    }
    private String jobCode;

    private String id;

    private String status = "default";

    /**
     * task  job   edge
     */
    private String shape = "task";

    private DependNodesDataDto data;

    private String taskCode;

    //周期任务的所有信息
    private PeriodTask periodTask;
}

